package com.ruoyi.hippocampus.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单对象 orders
 * 
 * @author ruoyi
 * @date 2023-07-05
 */
public class Orders extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单的id */
    private Long id;

    /** 订单的价格 */
    @Excel(name = "订单的价格")
    private BigDecimal price;

    /** 门店的id */
    @Excel(name = "门店的id")
    private Long storeId;

    /** 客户的id */
    @Excel(name = "客户的id")
    private Long customerId;

    /** 产品的id */
    @Excel(name = "产品的id")
    private Long productId;

    /** 套餐的id */
    @Excel(name = "套餐的id")
    private Long setmenuId;

    /** 预约时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预约时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date senationTime;

    /** 订单明细id */
    @Excel(name = "订单明细id")
    private Long orderdetailId;

    /** 订单状态id */
    @Excel(name = "订单状态id")
    private Long statusId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setStoreId(Long storeId) 
    {
        this.storeId = storeId;
    }

    public Long getStoreId() 
    {
        return storeId;
    }
    public void setCustomerId(Long customerId) 
    {
        this.customerId = customerId;
    }

    public Long getCustomerId() 
    {
        return customerId;
    }
    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }
    public void setSetmenuId(Long setmenuId) 
    {
        this.setmenuId = setmenuId;
    }

    public Long getSetmenuId() 
    {
        return setmenuId;
    }
    public void setSenationTime(Date senationTime) 
    {
        this.senationTime = senationTime;
    }

    public Date getSenationTime() 
    {
        return senationTime;
    }
    public void setOrderdetailId(Long orderdetailId) 
    {
        this.orderdetailId = orderdetailId;
    }

    public Long getOrderdetailId() 
    {
        return orderdetailId;
    }
    public void setStatusId(Long statusId) 
    {
        this.statusId = statusId;
    }

    public Long getStatusId() 
    {
        return statusId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("price", getPrice())
            .append("storeId", getStoreId())
            .append("customerId", getCustomerId())
            .append("productId", getProductId())
            .append("setmenuId", getSetmenuId())
            .append("senationTime", getSenationTime())
            .append("orderdetailId", getOrderdetailId())
            .append("statusId", getStatusId())
            .toString();
    }
}
